#index,#gameB,#LayaFamily,#newsB {
    max-width: 1500px;
    margin: 0 auto;
}

.nav-bg {
    background: #111;
}

.navbar {
    border-radius: unset;
    margin-bottom: unset;
    border: unset;
}

.menu-bg {
    background-color: #393838;
    min-width: unset;

    li a {
        color: white;
    }
}

.navbar-inverse .logo {
    padding: 8px 15px;
}

#footer {
    background-color: #2a2929;
    padding-top: 2vw;
    padding-bottom: 2vw;

    .footer-box {

        width: 70%;
        margin: 0 auto;
        display: flex;
        justify-content: space-between;
        position: relative;

        .left {
            color: #8c8d94;
            width: 40%;

            .up {
                display: flex;
                width: 60%;
                justify-content: space-between;

                p {
                    margin-right: 3px;
                    font-size: 14px;
                }
            }

            .down {
                font-size: 11px;
                margin-top: 1vw;
            }
        }

        .right {
            display: flex;
            width: 15.5%;
            align-items: center;
            justify-content: space-between;


            .code {
                display: none;
                position: absolute;
                top: -12.5vw;
                right: 0;
                img{
                    width: 125px;
                    height: 150px;
                }

            }

            .icon {
                width: 35px;
                height: 35px;
                border-radius: 50%;
                background-color: aliceblue;
                text-align: center;
                line-height: 35px;

                .iconfont {
                    font-size: 24px;
                }
            }

            & .icon:nth-child(2):hover ~ .code {
                display: block;
            }

        }
    }
}

@media screen and (max-width: 1280px) {}


@media screen and (max-width: 768px) {
    .nav-bg {
        .logo img {
            margin-left: 6vw;
        }
    }
    #footer .footer-box{
        .left{
            width: 50%;

            .up{
                flex-wrap: wrap;
            }
        }
        .right{
            width: 50%;
        }
    }
}

@media screen and (max-width: 375px) {}